// @ts-nocheck
import React from 'react';
import { ApplyPluginsType } from 'E:/houtai/node_modules/@umijs/runtime';
import * as umiExports from './umiExports';
import { plugin } from './plugin';

export function getRoutes() {
  const routes = [
  {
    "path": "/",
    "component": require('E:/houtai/src/pages/index').default,
    "routes": [
      {
        "path": "/",
        "redirect": "/home",
        "exact": true
      },
      {
        "name": "工作台",
        "path": "/home",
        "component": require('E:/houtai/src/pages/Home/Home').default,
        "exact": true
      },
      {
        "name": "订单管理",
        "path": "/home/orderList",
        "component": require('E:/houtai/src/pages/Order/OrderList/OrderIndex/OrderIndex').default,
        "exact": true
      },
      {
        "name": "订单概述",
        "path": "/home/summary",
        "component": require('E:/houtai/src/pages/Order/Summary/Summary').default,
        "exact": true
      },
      {
        "name": "评价管理",
        "path": "/home/evaluate",
        "component": require('E:/houtai/src/pages/Order/Evaluate/Evaluate').default,
        "exact": true
      },
      {
        "name": "订单配送",
        "path": "/home/distribution",
        "component": require('E:/houtai/src/pages/Order/Distribution/Distribution').default,
        "exact": true
      },
      {
        "name": "申请列表",
        "path": "/storeApplyList",
        "component": require('E:/houtai/src/pages/Store/ApplyList').default,
        "exact": true
      },
      {
        "name": "配置",
        "path": "/storeStoreConfig",
        "component": require('E:/houtai/src/pages/Store/StoreConfig').default,
        "exact": true
      },
      {
        "name": "门店",
        "path": "/storeAllStore",
        "component": require('E:/houtai/src/pages/Store/AllStore').default,
        "exact": true
      },
      {
        "name": "商品",
        "path": "/storeGoods",
        "component": require('E:/houtai/src/pages/Store/Goods').default,
        "exact": true
      },
      {
        "name": "商品",
        "path": "/store",
        "component": require('E:/houtai/src/pages/Store/index').default,
        "exact": true
      },
      {
        "name": "订单",
        "path": "/storeOrder",
        "component": require('E:/houtai/src/pages/Store/Order').default,
        "exact": true
      },
      {
        "name": "提现",
        "path": "/storeWithDrawal",
        "component": require('E:/houtai/src/pages/Store/WithDrawal').default,
        "exact": true
      },
      {
        "name": "到店付款",
        "path": "/storeShopPayment",
        "component": require('E:/houtai/src/pages/Store/ShopPayment').default,
        "exact": true
      },
      {
        "name": "客服管理",
        "path": "/SmallApplet",
        "component": require('E:/houtai/src/pages/SmallApplet/Pay').default,
        "exact": true
      },
      {
        "name": "直播",
        "path": "/live",
        "component": require('E:/houtai/src/pages/marketing/live').default,
        "exact": true
      },
      {
        "name": "秒杀",
        "path": "/seckill",
        "component": require('E:/houtai/src/pages/marketing/seckill').default,
        "exact": true
      },
      {
        "name": "秒杀商品",
        "path": "/seckillShop",
        "component": require('E:/houtai/src/pages/marketing/seckillShop').default,
        "exact": true
      },
      {
        "name": "秒杀添加",
        "path": "/seckillAdd",
        "component": require('E:/houtai/src/pages/marketing/seckillAdd').default,
        "exact": true
      },
      {
        "name": "秒杀第一步",
        "path": "/Ystepone",
        "component": require('E:/houtai/src/pages/marketing/Ystepone').default,
        "exact": true
      },
      {
        "name": "秒杀第二步",
        "path": "/Ysteptwo",
        "component": require('E:/houtai/src/pages/marketing/Ysteptwo').default,
        "exact": true
      },
      {
        "name": "秒杀第三步",
        "path": "/Ystepones",
        "component": require('E:/houtai/src/pages/marketing/Ystepones').default,
        "exact": true
      },
      {
        "name": "砍价商品",
        "path": "/bargainShop",
        "component": require('E:/houtai/src/pages/marketing/bargain/bargainShop').default,
        "exact": true
      },
      {
        "name": "砍价第一步",
        "path": "/bargainOne",
        "component": require('E:/houtai/src/pages/marketing/bargain/one').default,
        "exact": true
      },
      {
        "name": "砍价第二步",
        "path": "/bargainTwo",
        "component": require('E:/houtai/src/pages/marketing/bargain/two').default,
        "exact": true
      },
      {
        "name": "砍价第三步",
        "path": "/bargainThree",
        "component": require('E:/houtai/src/pages/marketing/bargain/three').default,
        "exact": true
      },
      {
        "name": "砍价列表",
        "path": "/bargainList",
        "component": require('E:/houtai/src/pages/marketing/bargain/bargainList').default,
        "exact": true
      },
      {
        "name": "直播列表",
        "path": "/liveList",
        "component": require('E:/houtai/src/pages/marketing/live/liveList').default,
        "exact": true
      },
      {
        "name": "团购列表",
        "path": "/groupList",
        "component": require('E:/houtai/src/pages/marketing/group/groupList').default,
        "exact": true
      },
      {
        "name": "团购商品",
        "path": "/groupShop",
        "component": require('E:/houtai/src/pages/marketing/group/groupShop').default,
        "exact": true
      },
      {
        "name": "团购第一步",
        "path": "/groupOne",
        "component": require('E:/houtai/src/pages/marketing/group/one').default,
        "exact": true
      },
      {
        "name": "团购第二步",
        "path": "/groupTwo",
        "component": require('E:/houtai/src/pages/marketing/group/two').default,
        "exact": true
      },
      {
        "name": "团购第三步",
        "path": "/groupThress",
        "component": require('E:/houtai/src/pages/marketing/group/three').default,
        "exact": true
      }
    ]
  }
];

  // allow user to extend routes
  plugin.applyPlugins({
    key: 'patchRoutes',
    type: ApplyPluginsType.event,
    args: { routes },
  });

  return routes;
}
